body {
  background-color: #FEFEFE;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: normal;
  margin: 15px;
}

p {
  color: #333;
}

.hr {
  border-top: 1px #ccc solid;
  margin-bottom: 0.75em;
}

div {
  display: block;
}

footer {
  clear: both;
  padding-top: 0.5em;
}

#links {
  //text-align: center;
  //float: left;
  //width: 65%;
}

#links a {
  margin-right: 1em;
  text-decoration: none;
  background: #ddd;
  border-radius: 4px;
  padding: 0.25em 0.75em;
}

#links a:hover {
  text-decoration: underline;
  background: #ccc;
}

#pg_run {
  margin: 0 0 5px 0;
  //width: 6em;
}

#pg_status {
  float: right;
  color: #666;
  width: 15em;
  text-align: right;
}

#pg_editor {
  padding: 0.5em;
  border-radius: 4px;
  font-family: monospace;
  font-size: 14px;
  background: #ddd;
  float: left;
  width: 65%;
}

#pg_editor > form {
  height: 300px;
  border: 1px solid #ccc;
  background: #fff;
}

#pg_editor textarea {
  height: 300px;
  width: 100%;
  margin: 0 0 5px 0;
  padding: 0;
  border-width: 0;
  background: #fefefe;
  overflow: scroll;
  font-family: monospace;
  font-size: 14px;
}

#pg_frame {
  padding: 0.5em;
  border-radius: 4px;
  background: #ddd;  
  margin-left: 5px;
  height: 360px;
  float: right;
  width: 30%;
}

#pg_frame iframe {
  background: #fefefe;
  height: 100%;
  border: 0;
  margin: 0;
  padding: 0;
  width 200px;
}

#pg_output {
  padding: 0.5em;
  border-radius: 4px;
  font-family: monospace;
  font-size: 14px;
  margin-top: 5px;
  clear: both;
  border: 1px solid #ccc;
  transition: 0.5s;
}

#pg_output pre {
  padding: 0;
  margin: 0;
  min-height: 1.2em;
  max-height: 7em;
  overflow:auto;
  overflow-x:hidden;
  white-space: pre-wrap;
}

.output {
  background: #f7f7f7;
}

.ok {
  background: #9d9;
}

.error {
  background: #d55;
}

.clearfix {
  clear: all;
  height: 5px;
}
